package com.eastfair.venuebooking.dto;

import java.time.LocalDateTime;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.eastfair.core.base.entity.Entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.eastfair.venuebooking.enumeration.TemplateManageKindEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 模板管理
 * </p>
 *
 * @author lyw
 * @since 2022-07-05
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "TemplateManagePageQuery", description = "模板管理")
public class TemplateManagePageQuery implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 模板名称
     */
    @ApiModelProperty(value = "模板名称")
    private String temName;
    /**
     * 模板类型 #{contract_one:合同模板001;}
     */
    @ApiModelProperty(value = "模板类型 #{contract_one:合同模板001;}")
    private String kind;
    /**
     * 模板路径
     */
    @ApiModelProperty(value = "模板路径")
    private String temUrl;
    /**
     * 附件id
     */
    @ApiModelProperty(value = "附件id")
    private Long attachId;

    /**
     * xml附件id
     */
    @ApiModelProperty(value = "xml附件id")
    @TableField(value = "attach_xml_id")
    @Excel(name = "xml附件id")
    private Long attachXmlId;

    /**
     * 模版类型   1合同模版-场租  2合同模版-服务项
     */
    @ApiModelProperty(value = "模版类型   1合同模版-场租  2合同模版-服务项")
    private String type;
    /**
     * 是否启用：1是；0否
     */
    @ApiModelProperty(value = "是否启用：1是；0否")
    private Integer isEnabled;
    /**
     * 是否删除：1是；0否
     */
    @ApiModelProperty(value = "是否删除：1是；0否")
    private Integer isDeleted;
    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    private Long projectId;
    /**
     * 子系统id
     */
    @ApiModelProperty(value = "子系统id")
    private Long subsystemId;
    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id")
    private Long tenantId;

}
